import { KaseoRuntimeBridge } from "./KaseoRuntime"

export default class KaseoProgram {
    programName: string

    constructor(name: string = '<kaseo-program>') {
        this.programName = name
    }

    onUpdate(bridge: KaseoRuntimeBridge) {}
    onLaunch(bridge: KaseoRuntimeBridge) {}
    onExit(bridge: KaseoRuntimeBridge) {}
    onKnock(bridge: KaseoRuntimeBridge) { this.onUpdate(bridge) }
}
